{% extends "base.html" %}
{% block title %} Archives - {{blog.title}} {% endblock %}
{% block head_block %}
{% if entry %}
{%if entry.strtags%}<meta name="Keywords" content="{{entry.strtags}}">{%endif%}
{%if entry.excerpt%} <meta name="Description" content="{{entry.excerpt}}">{%endif%}
{% endif %}
{% endblock %}
{% block content%}

<div id="content">
<h2>Archives</h2>

<div class="main">

<p>Complete archive of the blog's posts.</p>

<h3>Monthly:</h3>
<ul class="monthly">
    {%for archive in archives%}
  <li class="monthli">	<a href="/{{archive.year}}/{{archive.month}}">{{archive.monthyear}}({{archive.entrycount}})</a></li>
 	{%endfor%}
</ul>


<h3>Topic:</h3>
<ul class="topic">
    {%for cate in categories%}
  <li class="catli">	<a href="/category/{{cate.slug}}">{{cate.name}}({{cate.count}})</a></li>
 	{%endfor%}
</ul>


<h3>Tag:</h3>
<ul class="alltags">
    {%for tag in alltags%}
  <li class="tagli">	<a href="/tag/{{tag.tag}}">{{tag.tag}}</a></li>
 	{%endfor%}
</ul>

</div>

</div>
{% include "sidebar.html" %}
{% endblock %}

